package com.chezhujie.www.domain;

import com.chezhujie.www.core.init.mysql.BaseEntity;
import com.chezhujie.www.core.init.mysql.annotation.Column;
import com.chezhujie.www.core.init.mysql.annotation.Entity;
import com.chezhujie.www.core.init.mysql.annotation.Id;
import com.chezhujie.www.core.init.mysql.annotation.Table;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/7/4.
 */
@Entity
@Table(name="czj_refund",describe = "退款记录表")
public class Czjrefund extends BaseEntity {
    @Id
    @Column(describe = "主键",length = 19,inputType = "hidden")
    private String refundId;
    @Column(describe = "订单号",length = 32)
    private String orderCode;
    @Column(describe = "商家",inputType = "text",length = 19)
    private String businessId;
    @Column(describe = "用户",inputType = "select",inputCode = "int")
    private Integer userinfoId;
    @Column(describe = "退款金额",inputType = "decimal",length = 10,precision = 2)
    private BigDecimal refundAmount;
    @Column(describe = "退款发起时间",inputType = "date")
    private Date createtime;
    private Date createtimeStart;
    private Date createtimeEnd;
    @Column(describe = "退款结束时间",inputType = "date")
    private Date updatetime;
    private Date updatetimeStart;
    private Date updatetimeEnd;
    @Column(describe = "退款状态",inputType = "int")
    private Integer refundStatus;
    @Column(describe = "用户申请退款说明")
    private String userContent;
    @Column(describe = "商家退款失败说明")
    private String businContent;
    @Column(describe = "删除标识",length = 1,defalt = "0")
    private Integer delFlag;


    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getCreatetimeStart() {
        return createtimeStart;
    }

    public void setCreatetimeStart(Date createtimeStart) {
        this.createtimeStart = createtimeStart;
    }

    public Date getCreatetimeEnd() {
        return createtimeEnd;
    }

    public void setCreatetimeEnd(Date createtimeEnd) {
        this.createtimeEnd = createtimeEnd;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public String getUserContent() {
        return userContent;
    }

    public void setUserContent(String userContent) {
        this.userContent = userContent;
    }

    public String getBusinContent() {
        return businContent;
    }

    public void setBusinContent(String businContent) {
        this.businContent = businContent;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getUpdatetimeStart() {
        return updatetimeStart;
    }

    public void setUpdatetimeStart(Date updatetimeStart) {
        this.updatetimeStart = updatetimeStart;
    }

    public Date getUpdatetimeEnd() {
        return updatetimeEnd;
    }

    public void setUpdatetimeEnd(Date updatetimeEnd) {
        this.updatetimeEnd = updatetimeEnd;
    }
}
